import Item from 'antd/lib/list/Item';
import React from 'react'
import { Search, Tabs, Swiper, Image, Grid, } from 'react-vant';
interface DATATYPE{
  dataProps:any
}
function Swipers(props:DATATYPE) {
  console.log(props);
  
  return (
    <div className="demo-swiper">
    <Swiper autoplay={3000}>
        {props.dataProps.map((item1:any, index:number) => (
            <Swiper.Item key={index}>
                <Image lazyload src={item1} />
            </Swiper.Item>
        ))}
    </Swiper>
</div>
  )
}

export default Swipers